import { ModuleWithProviders, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AuditComponent } from './audit/audit.component';
import { AuditService } from './audit.service';



@NgModule({
  declarations: [AuditComponent],
  imports: [
    CommonModule
  ],
  exports: [AuditComponent],
  entryComponents: [AuditComponent]
})
export class AuditModule {
  static forRoot(): ModuleWithProviders<AuditModule> {
    return {
      ngModule: AuditModule,
      providers: [AuditService]
    }
  }
}
